package com.superme.filemanager.service;

import com.superme.common.beans.PageRequest;
import com.superme.common.beans.PageResponse;
import com.superme.common.beans.Result;
import com.superme.filemanager.pojo.entity.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * FileService
 * 作者: yanruizhi
 * 时间: 2023/8/7 10:23
 */
public interface FilesService {

    void upload(MultipartFile file);

    String getFileUrl(String objectName);

    void deleteFile(String fileInfoId);

    PageResponse<FileInfo> getPage(FileInfo fileInfo, PageRequest page);
}
